package com.example.commons.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SystemDictType extends BaseEntity{
    /**
     * 字典类型主键
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 类型名称
     */
    private String typeName;
    /**
     * 字典类型标识
     */
    private String typeCode;
    /**
     * 状态，启用或者停用
     */
    private Integer status;
    /**
     * 字典描述
     */
    private String remark;
    /**
     * 排序
     */
    private Integer sort;
}
